package com.pn.entity;

import org.springframework.stereotype.Component;

import java.io.Serializable;

@Component
public class PetType implements Serializable {
    private Integer ptid;

    private String ptname;

    public Integer getPtid() {
        return ptid;
    }

    public void setPtid(Integer ptid) {
        this.ptid = ptid;
    }

    public String getPtname() {
        return ptname;
    }

    public void setPtname(String ptname) {
        this.ptname = ptname == null ? null : ptname.trim();
    }

    @Override
    public String toString() {
        return "PetType{" +
                       "ptid=" + ptid +
                       ", ptname='" + ptname + '\'' +
                       '}';
    }
}